Method for submitting data in sequence, network device and terminal device

ABSTRACT

Disclosed are a method for submitting data in sequence, a network device, a terminal device and a computer storage medium. The method comprises: when a bearer of data streams is transferred from a first network device to a second network device, the first network device sends first instruction information to the second network device, wherein the first instruction information is used for instructing the second network to transmit the transferred data streams on a new bearer in sequence.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation application of International Application No. PCT/CN2018/104908 having an international filing date of Sep. 10, 2018, which claims priority to PCT Application No. PCT/CN2018/091672 filed on Jun. 15, 2018, and the entire disclosures of both applications are hereby incorporated by reference.

TECHNICAL FIELD

The present disclosure relates to the field of information processing technology, in particular to a method for delivering data in order, a network device, a terminal device and a computer storage medium.

BACKGROUND

Main application scenarios of 5G are: Enhanced Mobile Broadband (eMBB), Ultra Reliable Low Latency Communications (URLLC), and massive Machine Type of Communication (mMTC). During early deployment of NR, full NR coverage is difficult to obtain, so typical network coverage is wide-area LTE coverage and island coverage mode of the NR. Moreover, a large amount of LTE is deployed below 6 GHz, and there is very little spectrum below 6 GHz that may be used for the 5G. Therefore, the NR must study spectrum applications above 6 GHz. At the same time, in order to protect the mobile operators' previous investment in the LTE, a working mode of tight interworking between the LTE and the NR is proposed. The NR may also be deployed independently.

In order to be able to realize 5G network deployment and commercial applications as soon as possible, 3GPP first completes a first 5G version, namely LTE-NR Dual Connectivity (EN-DC), before the end of December 2017. Here the LTE serves as a Master Node (MN), the NR serves as a Secondary Node (SN), and the network deployment and networking architecture are shown in FIGS. 1-3. In Dual Connectivity (DC), EN-DC, NE-DC, 5GC-EN-DC, and NR DC are included. In the EN-DC, an LTE node is used as an MN node and an NR node is used as an SN node, to connect an EPC core network. The NR in the NE-DC is used as an MN node and eLTE is used as an SN node, to connect a 5GC core network. In the 5GC-EN-DC, the eLTE serves as an MN node and the NR serves as SN node, to connect a 5GC core network. In the NR DC, the NR is used as an MN node and the NR is used as an SN node, to connect a 5GC core network. A bearer type in a DC mode is shown in FIG. 4. In LTE DC, bearer types of a user plane include a Main Cell Group (MCG) bearer, a Secondary Cell Group (SCG) bearer, and a MCG Split bearer. In order to minimize changes between the MCG split bearer and an SCG split bearer, a concept of bearer harmonization is proposed, i.e. the MCG split bearer and the SCG split bearer are unified into Split bearers.

In 5G NR, a new protocol layer Service Data Adaptation Protocol (SDAP) of is introduced, wherein the protocol layer is used to map data of a QoS data flow (Flow) from a core network to different DRBs. And the eLTE supports an LTE base station to access a 5G core network in the LTE, so a protocol stack of the eLTE also contains the SDAP protocol. As shown in FIG. 5, for the NE-DC, the 5GC-EN-DC and the NR DC, every MN, SN node in them uses the SDAP protocol. Therefore, in a process of bearer change in the prior art, a problem of out of order delivery exists.

SUMMARY

In order to solve the above technical problem, implementations of the present disclosure provide a method for delivering data in order, a network device, a terminal device and a computer storage medium.

An implementation of the present disclosure provides a method for delivering data in order, which is applied to a first network device, and the method includes: when a bearer of a data flow is transferred from the first network device to a second network device, sending, by the first network device, first indication information to the second network device; wherein the first indication information is used for indicating the second network device to start performing, on a new bearer, in-order transmission of the transferred data flow.

An implementation of the present disclosure provides a method for delivering data in order, which is applied to a second network device, and the method includes: when a bearer of a data flow is transferred from a first network device to the second network device, receiving first indication information sent from the first network device; wherein the first indication information is used for indicating the second network device to start performing, on a new bearer, in-order transmission of the transferred data flow.

An implementation of the present disclosure provides a method for delivering data in order, which is applied to a terminal device, and the method includes: when a bearer of a data flow is transferred from a first network device to a second network device, transmitting, by the terminal device, first partial data of the data flow and second indication information to the first network device; and the second indication information is used for indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely.

An implementation of the present disclosure provides a method for delivering data in order, which is applied to a first network device, and the method includes: when a bearer of a data flow is transferred from the first network device to a second network device, receiving first partial data of the data flow sent from a terminal device and second indication information sent from the terminal device; the second indication information is used for indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely; and sending the first partial data of the data flow and the second indication information to the second network device, or sending the first partial data of the data flow to a core network and sending the second indication information to the second network device.

An implementation of the present disclosure provides a method for delivering data in order, which is applied to a second network device, and the method includes: when a bearer of a data flow is transferred from a first network device to the second network device, receiving first partial data of the data flow sent from the first network device and second indication information, or receiving second indication information sent from the first network device; the second indication information is used for indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely; based on the second indication information, after delivering the first partial data to a core network, delivering, by the second network device, second partial data of the data flow to the core network.

An implementation of the present disclosure provides a first network device, including: a first communication unit, which sends, when a bearer of a data flow is transferred from the first network device to a second network device, first indication information to the second network device; wherein the first indication information is used for indicating the second network device to start performing, on a new bearer, in-order transmission of the transferred data flow.

An implementation of the present disclosure provides a second network device, including: a second communication unit, which receives, when a bearer of a data flow is transferred from a first network device to the second network device, first indication information sent from the first network device; wherein the first indication information is used for indicating the second network device to start performing, on a new bearer, in-order transmission of the transferred data flow.

An implementation of the present disclosure provides a terminal device, including: a third communication unit, which transmits, when a bearer of a data flow is transferred from a first network device to a second network device, first partial data of a data flow and second indication information to the first network device; and the second indication information is used for indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely.

An implementation of the present disclosure provides a first network device, including: a fourth communication unit, which receives, when a bearer of a data flow is transferred from the first network device to a second network device, first partial data of the data flow sent from a terminal device and second indication information sent from the terminal device; the second indication information is used for indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely; and sends the first partial data of the data flow and the second indication information to the second network device, or sends the first partial data of the data flow to a core network and sends the second indication information to the second network device.

An implementation of the present disclosure provides a second network device, including: a fifth communication unit, which receives, when a bearer of a data flow is transferred from a first network device to the second network device, first partial data of the data flow sent from the first network device and second indication information, or receives second indication information sent from the first network device; the second indication information is used for indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely; a fifth processing unit, which delivers, based on the second indication information, after delivering the first partial data to a core network, second partial data of the data flow to the core network.

An implementation of the present disclosure provides a network device, including: a processor and a memory used for storing a computer program which is capable of being run on the processor, wherein the processor is used for, when running the computer program, executing acts of the aforementioned method.

An implementation of the present disclosure provides a terminal device, including: a processor and a memory used for storing a computer program which is capable of being run on the processor, wherein the processor is used for, when running the computer program, executing acts of the method.

An implementation of the present disclosure provides a computer storage medium, wherein the computer storage medium stores computer-executable instructions which implements, when being executed, acts of the aforementioned method.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a schematic diagrams of DC network deployment and networking architecture.

FIG. 2 is a schematic diagrams of DC network deployment and networking architecture.

FIG. 3 is a schematic diagrams of DC network deployment and networking architecture.

FIG. 4 is a schematic diagram of a bearer type in DC mode.

FIG. 5 is a schematic diagram of out of order delivery when bearer transferring appears in the prior art.

FIG. 6 is flowchart one of a method for delivering data in order according to an implementation of the present disclosure.

FIG. 7 is a schematic diagram of a downlink data processing scenario according to an implementation of the present disclosure.

FIG. 8 is flowchart two of a method for delivering data in order according to an implementation of the present disclosure.

FIG. 9 is a schematic diagram of an uplink data processing scenario according to an implementation of the present disclosure.

FIG. 10 is flowchart three of a method for delivering data in order according to an implementation of the present disclosure.

FIG. 11 is flowchart four of a method for delivering data in order according to an implementation of the present disclosure.

FIG. 12 is schematic diagram one of structure of a network device according to an implementation of the present disclosure.

FIG. 13 is schematic diagram two of structure of a network device according to an implementation of the present disclosure.

FIG. 14 is a schematic diagram of architecture of hardware according to an implementation of the present disclosure.

DETAILED DESCRIPTION

To understand features and technical contents of implementations of the present disclosure in more detail, the implementation of the implementations of the present disclosure will be described in detail below with reference to the drawings, which are used for reference only and are not intended to limit the implementations of the present disclosure.

Implementation One

The implementation of the present application provides a method for delivering data in order, which is applied to a first network device, and the method includes: when a bearer of a data flow is transferred from the first network device to a second network device, the first network device sends first indication information to the second network device; herein the first indication information is used for indicating the second network device to start performing, on a new bearer, in-order transmission of the transferred data flow.

The data flow in this implementation can be understood as a QoS Flow. The first network device may be an original node and the second network device may be a destination node. In addition, the first network device and the second network device may be a Master Node (MN) and a Secondary Node (SN) in Dual Connectivity (DC), respectively. Of course, they may also be other nodes in a DC scenario, but the details are not repeated here.

It should also be pointed out that the data flow in this implementation may be a QoS Flow.

In addition, when the bearer of the data flow is transferred from the first network device to the second network device, the first network device maintains an original Data Radio Bearer (DRB), transmits the first partial data of the data flow which have not been acknowledged to the terminal device, and forwards second partial data from a core network to the second network device.

Herein, the having not been acknowledged may be partial data for which ACK acknowledgement information sent from a receiving end has not been gotten. Moreover, the second partial data of the data flow are data which are still at the first network device while the data flow is transferred from the first network device to the second network device.

At this time, it may also include that the first network device sends the second partial data to the second network device till this partial data are sent out.

When the second partial data of the data flow are completely sent to the second network device, the first indication information is generated, and then the first indication information is sent to the second network device.

Herein, the first indication information may be a blank data packet, or may be a data packet which contains a preset identifier. Herein, the preset identifier may be set according to an actual condition, for example, it may be N-bit data, and the N-bit data is in a preset arrangement, which is not exhaustive in this implementation.

Further, the first network device sends the first indication information to the second network device, includes: the first network device sends the first indication information to the second network device through an Xn interface.

Specifically, refer to FIG. 6, which includes acts 601 and 602.

In act 601, when the bearer of the data flow is transferred from the first network device to the second network device, the first network device maintains an original Data Radio Bearer (DRB), transmits the first partial data of the data flow which have not been acknowledged to the terminal device, and forwards second partial data from a core network to the second network device.

In act 602, when the second partial data of the data flow are completely sent to the second network device, the first indication information is sent to the second network device.

Correspondingly, when the second network device receives the first indication information, the second network device may start performing in-order transmission of the transferred data flow on the new bearer. Herein, the in-order transmission may be that the second partial data of the data flow are first transmitted and then third partial data from the core network are transmitted. The second partial data are arranged before the third partial data for transmission when performing sorting, so it can be ensured that out of order does not appear when the bearer of the data flow is transferred.

The above scenario will be described below with reference to FIG. 7: for DownLink (DL) data, when a QoS Flow 1 is transferred from one node to another node, for example, transferred from MN to SN. A DRB of an original side node continues to be maintained (which may be for the first partial data of QoS Flow 1 sent from Access and Mobility Management Function (AMF)) after bearer is changed, the first partial data of the Flow 1 are kept being sent to the terminal device through an original bearer, and the original side node continues to transmit a first partial PDCP PDUs of the QoS Flow 1, that is, the first partial data of the QoS Flow 1, which have not been acknowledged by ACK. At the same time, the first network device receives second partial data from the core network and sends the second partial data to the second network device (i.e. the SN), till a remaining second part of the PDCP PDUs of the QoS Flow 1 which have not been acknowledged by ACK are all transmitted to the SN completely, and then the original side node (MN) sends the first indication information to a target side (SN) through the Xn interface. Herein, the indication indicates that the target side may start performing, on a new bearer, data transmission of the above transferred QoS Flow. It should also be pointed out that after the SN, that is, the second network device in this implementation, receives the second partial data of the data flow and the first indication information, it transmits the second partial data first and then transmits its own third partial data. In this way, it is ensured that the transmitted data will not be out of order.

It can be seen that by adopting the above solution, it is able that when a bearer of a data flow is transferred from a first network device to a second network device, the first network device sends the second network device first indication information, through which the second network device is caused to start performing, on a new bearer, in-order transmission of the transferred data flow. Therefore, it can be ensured that when data flow transferring occurs, a destination network device side can ensure the order of data transmission.

Implementation Two

The implementation of the present application provides a method for delivering data in order, which is applied to a second network device, and the method includes: when a bearer of a data flow is transferred from a first network device to the second network device, first indication information sent from the first network device is received. Herein the first indication information is used for indicating the second network device to start performing, on a new bearer, in-order transmission of the transferred data flow.

The data flow in this implementation can be understood as a QoS Flow. The first network device may be an original node and the second network device may be a destination node. In addition, the first network device and the second network device may be a Master Node (MN) and a Secondary Node (SN) in Dual Connectivity (DC), respectively. Of course, they may also be other nodes in a DC scenario, but the details are not repeated here.

It should also be pointed out that the data flow in this implementation may be a QoS Flow.

In addition, when the bearer of the data flow is transferred from the first network device to the second network device, the first network device maintains an original Data Radio Bearer (DRB), and transmits second partial data to the second network device. Correspondingly, the second network device will receive the second partial data of the data flow sent from the first network device.

When the second partial data of the data flow is completely sent to the second network device, the first indication information is generated, and then the first indication information is sent to the second network device.

Herein, the first indication information may be a blank data packet, or may be a data packet which contains a preset identifier. Herein, the preset identifier may be set according to an actual condition, for example, it may be N-bit data, and the N-bit data is in a preset arrangement, which is not exhaustive in this implementation.

Further, the first indication information sent by the first network device is received through an Xn interface.

The method also includes: receiving third partial data sent by a core network device; that is, when the bearer of the data flow is transferred, the second network device starts receiving the third partial data from the core network.

Specifically, refer to FIG. 8, and acts 801 and 802 are included.

In act 801, when the bearer of the data flow is transferred from the first network device to the second network device, receive the second partial data of the data flow sent from the first network device, and receive the first indication information sent from the first network device.

In act 802, based on the first indication information, sort the second partial data of the data flow and the third partial data and then transmit. Herein, the third partial data may be data received by the second network device from the core network.

When the second network device receives the first indication information, the second network device may start performing, on a new bearer, in-order transmission of the transferred data flow. Herein the in-order transmission may be that the second partial data are arranged to be transmitted before the third partial data.

Since the second partial data occurs when the data flow is transferred, the second partial data precedes the third partial data. Therefore, when sorting, the second partial data are arranged to be transmitted before the third partial data, thus it can be ensured that out of order does not appear when the bearer of the data flow is transferred.

The above scenario will be described below with reference to FIG. 7. For DownLink (DL) data, when a QoS Flow 1 is transferred from one node to another node, for example, transferred from MN to SN, a DRB of an original side node continues to be maintained (which may be for the first partial data of QoS Flow 1 sent from Access and Mobility Management Function (AMF)) after bearer is changed, the first partial data of the Flow 1 are kept being sent to the terminal device through an original bearer, and the original side node continues to transmit a first partial PDCP PDUs of the QoS Flow 1, that is, the first partial data of the QoS Flow 1, which have not been acknowledged by ACK. At the same time, the first network device receives second partial data from the core network and sends the second partial data to the second network device (i.e. the SN) till a remaining second part of the PDCP PDUs of the QoS Flow 1 which have not been acknowledged by ACK are all transmitted to the SN completely, and the original side node (MN) sends the first indication information to the target side (SN) through the Xn interface. Herein, the indication indicates that the target side may start performing, on a new bearer, data transmission of the above transferred QoS Flow. It should also be pointed out that after the SN, that is, the second network device in this implementation, receives the second partial data of the Flow and the first indication information, it transmits the second partial data first and then transmits its own third partial data. In this way, it is ensured that the transmitted data will not be out of order.

It can be seen that by adopting the above solution, it is able that when a bearer of a data flow is transferred from a first network device to a second network device, the first network device sends the second network device first indication information, through which the second network device is caused to start performing, on a new bearer, in-order transmission of the transferred data flow. Therefore, it can be ensured that when data flow transferring occurs, a destination network device side can ensure a sequence of data transmission.

Implementation Three

The implementation of the present application provides a method for delivering data in order, which is applied to a terminal device, and the method includes: when a bearer of a data flow is transferred from a first network device to a second network device, receive first partial data of the data flow sent from the first network device.

The data flow in this implementation can be understood as a QoS Flow. The first network device may be an original node and the second network device may be a destination node. In addition, the first network device and the second network device may be a Master Node (MN) and a Secondary Node (SN) in Dual Connectivity (DC), respectively. Of course, they may also be other nodes in a DC scenario, but the details are not repeated here.

It should also be pointed out that the data flow in this implementation may be a QoS Flow.

In addition, when the bearer of the data flow is transferred from the first network device to the second network device, the first network device maintains an original Data Radio Bearer (DRB), transmits the first partial data of the data flow which have not been acknowledged to the terminal device, and forwards second partial data from a core network to the second network device.

Receive the first partial data of the data flow sent from the first network device, includes: receiving the first partial data of the data flow which have not been acknowledged transmitted by the first network device, which maintains the original Data Radio Bearer (DRB).

The above scenario will be described below with reference to FIG. 7: for DownLink (DL) data, when a QoS Flow 1 is transferred from one node to another node, for example, transferred from MN to SN, a DRB of an original side node continues to be maintained (which may be for the first partial data of QoS Flow 1 sent from Access and Mobility Management Function (AMF)) after bearer is changed, the first partial data of the Flow 1 are kept being sent to the terminal device through an original bearer, and the original side node continues to transmit a first partial PDCP PDUs of the QoS Flow 1, that is, the first partial data of the QoS Flow 1, which have not been acknowledged by ACK. At the same time, the first network device receives second partial data from the core network and sends the second partial data to the second network device (i.e. the SN) till a remaining second part of the PDCP PDUs of the QoS Flow 1 which have not been acknowledged by ACK are all transmitted to the SN completely, and the original side node (MN) sends the first indication information to a target side (SN) through the Xn interface. Herein, the indication indicates that the target side may start performing, on a new bearer, data transmission of the above transferred QoS Flow. It should also be pointed out that after the SN, that is, the second network device in this implementation, receives the second partial data of the Flow and the first indication information, it transmits the second partial data first and then transmits its own third partial data. In this way, it is ensured that the transmitted data will not be out of order.

It can be seen that by adopting the above solution, it is able that when a bearer of a data flow is transferred from a first network device to a second network device, the first network device sends the second network device first indication information, through which the second network device is caused to start performing, on a new bearer, in-order transmission of the transferred data flow. Therefore, it can be ensured that when data flow transferring occurs, a destination network device side can ensure the order of data transmission.

Implementation Four

The implementation of the present application provides a method for delivering data in order, which is applied to a terminal device, and the method includes: when a bearer of a data flow is transferred from a first network device to a second network device, the terminal device transmits first partial data of the data flow and second indication information to the first network device; and the second indication information is used for indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely.

This implementation is applicable to a scenario where bearer transferring of a data flow occurs when the terminal device sends uplink data to the network side.

The data flow in this implementation can be understood as a QoS Flow. The first network device may be an original node and the second network device may be a destination node. In addition, the first network device and the second network device may be a Master Node (MN) and a Secondary Node (SN) in Dual Connectivity (DC), respectively. Of course, they may also be other nodes in a DC scenario, but the details are not repeated here.

It should also be pointed out that the data flow in this implementation may be a QoS Flow.

The terminal device transmits the first partial data of the data flow to the first network device, includes: when the bearer of the data flow is transferred from the first network device to the second network device, a Data Radio Bearer (DRB) with the first network device is maintained, and a first partial PDCP PDUs of the data flow which have not been acknowledged is sent to the first network device.

That is to say, when a QoS Flow is transferred from one network device to another, such as transferred from MN to SN, the DRB of an original side network device continues to be maintained after bearer is changed, and a protocol stack corresponding to an original side node in a UE continues to transmit the first partial PDCP PDUs of the data flow which have not acknowledged by ACK to the first network device (e.g., an MN) through the original bearer.

In addition, the terminal device transmits the second partial data of the data flow to the second network device while executing the aforementioned solution.

When the terminal device transmits the first partial data of the data flow to the first network device completely, the terminal device generates the second indication information, and then transmits the second indication information to the first network device.

Herein, the second indication information may be a blank data packet, or may be a data packet which contains a preset identifier. Herein, the preset identifier may be set according to an actual condition, for example, it may be N-bit data, and the N-bit data is in a preset arrangement, which is not exhaustive in this implementation.

The above scenario will be described below with reference to FIG. 9: for UL, firstly, when an SN node is established or during bearer is changed, a GTP tunnel is established on an Xn interface between an MN and the SN for transmitting data received by an original side.

When a bearer of a QoS data Flow is transferred from one node to another node, for example, transferred from MN to SN, a DRB of the original side node continues to be maintained after bearer is changed, and a protocol stack which corresponds to an original side node in a terminal continues to transmit PDCP PDUs which have not been acknowledged by ACK. As shown in the figure, the terminal device continues to send a first partial data of Flow 1 to the MN; and the second indication information is transmitted to the original side node when the first partial data of the Flow 1 is transmitted completely. Herein the second indication information may be located in a last data packet of the first partial data, and the second indication information is used for telling the original side node that the unfinished data transmission of the transferred QoS Flow has been completed.

The original side node delivers the first partial data, such as SDAP SDUs, of the Flow 1 which are received, and an SDAP end marker, i.e. the second indication information, to the target side node (SN) through the Xn interface. The target side node (SN) first sends data, SDAP SDUs, from the original side node to a core network, and after receiving the second indication information, sends second partial data of the Flow 1 which are received by the local side to the core network.

The original side node receives the first partial data of the Flow 1 such as the SDAP SDUs and the SDAP end marker, i.e., the second indication information. The original side node first sends the received SDAP SDUs to the core network through a GTP tunnel corresponding to a PDU session between the local node and the core network, and then transfers the SDAP end marker to the target side through the Xn interface. After the target side receives the end marker indication, it sends data received by the local side to the core network.

It can be seen that by adopting the above solution, it is able that when a bearer of a data flow is transferred from the first network device to the second network device, indication information is sent to the second network device, so that the second network device starts performing, on a new bearer, in-order transmission of the transferred data flow. Therefore, it can be ensured that when data flow transferring occurs, a destination network device side can ensure the order of data transmission.

Implementation Five

The implementation of the present application provides a method for delivering data in order, which is applied to a first network device, and as shown in FIG. 10, the method includes acts 1001 and 1002.

In act 1001, when a bearer of a data flow is transferred from the first network device to a second network device, first partial data of the data flow sent from a terminal device and second indication information sent from the terminal device are received. The second indication information is used for indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely.

In act 1002, the first partial data of the data flow and the second indication information are sent to the second network device, or the first partial data of the data flow are sent to a core network and the second indication information is sent to the second network device.

This implementation is applicable to a scenario where bearer transferring of a data flow occurs when the terminal device sends uplink data to the network side.

The data flow in this implementation can be understood as a QoS Flow. The first network device may be an original node and the second network device may be a destination node. In addition, the first network device and the second network device may be a Master Node (MN) and a Secondary Node (SN) in Dual Connectivity (DC), respectively. Of course, they may also be other nodes in a DC scenario, but the details are not repeated here.

It should also be pointed out that the data flow in this implementation may be a QoS Flow.

The receiving first partial data of the data flow sent from the terminal device includes: when the bearer of the data flow is transferred from the first network device to the second network device, the Data Radio Bearer (DRB) of the first network device continues to be maintained and a first partial PDCP PDUs of the data flow, which have not been acknowledged, sent from the terminal device are received.

That is to say, when a QoS Flow is transferred from one network device to another, such as transferred from MN to SN, the DRB of an original side network device continues to be maintained after bearer is changed, and a protocol stack corresponding to an original side node in a UE continues to transmit the first partial PDCP PDUs of the Flow which have not acknowledged by ACK to the first network device (e.g., an MN) through the original bearer.

In addition, the terminal device transmits the second partial data of the data flow to the second network device while executing the aforementioned solution.

When the terminal device transmits the first partial data of the data flow to the first network device completely, the terminal device generates the second indication information, and then transmits the second indication information to the first network device.

Herein, the second indication information may be a blank data packet, or may be a data packet which contains a preset identifier. Herein, the preset identifier may be set according to an actual condition, for example, it may be N-bit data, and the N-bit data is in a preset arrangement, which is not exhaustive in this implementation.

The sending first partial data of the data flow and the second indication information to the second network device includes: sending the first partial data of the data flow and the second indication information to the second network device through an Xn interface; or, sending the first partial data of the data flow to the core network and sending the second indication information to the second network device includes: sending the first partial data of the data flow to the core network through a GTP tunnel with the core network; and sending the second indication information to the second network device through an Xn interface.

The method also includes: a GTP tunnel with the second network device is established on the Xn interface. Herein the GTP tunnel is used for performing data forwarding to the second network device.

That is, when the first network device receives the first partial data and the second indication sent from the terminal device based on the original bearer, the first network device sends such information to the second network device in real time through the GTP tunnel established by the Xn interface with the second network device, so that the second network device sorts the first partial data and the second partial data received by the second network device, and then submits the sorted data to an upper layer.

The above scenario will be described below with reference to FIG. 9: for UL, firstly, when an SN node is established or during bearer changing, a GTP tunnel is established on an Xn interface between an MN and the SN for transmitting data received by an original side.

When a bearer of a QoS Flow is transferred from one node to another node, for example, transferred from MN to SN, a DRB of the original side node continues to be maintained after bearer is changed, and a protocol stack which corresponds to an original side node in a terminal continues to transmit PDCP PDUs which have not been acknowledged by ACK. As shown in the figure, the terminal device continues to send a first partial data of Flow 1 to the MN; and the second indication information is transmitted to the original side node when the first partial data of the Flow 1 is transmitted completely. Herein the second indication information may be located in a last data packet of the first partial data; and the second indication information is used for telling the original side node that the unfinished data transmission of the transferred QoS Flow has been completed.

The original side node delivers the first partial data, such as SDAP SDUs, of the Flow 1 which are received, and an SDAP end marker, i.e. the second indication information, to the target side node (SN) through the Xn interface. The target side node (SN) first sends data, SDAP SDUs, from the original side node to the core network, and after receiving the second indication information, sends second partial data of the Flow 1 which are received by the local side to the core network.

Or, when original side node receives the first partial data of the Flow 1, for example, SDAP SDUs, and an SDAP end marker, i.e., the second indication information, the original side node first sends the SDAP SDUs which are received to the core network through an GTP tunnel corresponding to a PDU session between the local node and the core network, and then transfers the SDAP end marker to the target side through the Xn interface. After the target side receives the second indication information, i.e., the SDAP end marker indication, it sends data received by the local side to the core network.

It can be seen that by adopting the above solution, it is able that when a bearer of a data flow is transferred from the first network device to the second network device, indication information is sent to the second network device, so that the second network device starts performing, on a new bearer, in-order transmission of the transferred data flow. Therefore, it can be ensured that when data flow transferring occurs, a destination network device side can ensure the order of data transmission.

Implementation Six

The implementation of the present application provides a method for delivering data in order, which is applied to a second network device, and as shown in FIG. 11, the method includes acts 1101 and 1102.

In act 1101, when a bearer of a data flow is transferred from a first network device to the second network device, first partial data of the data flow sent from the first network device and second indication information are received, or second indication information sent from the first network device is received. The second indication information is used for indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely.

In act 1102, based on the second indication information, after the second network device delivers the first partial data to a core network, the second network device delivers second partial data of the data flow to the core network.

This implementation is applicable to a scenario where bearer transferring of a data flow occurs when the terminal device sends uplink data to the network side.

The data flow in this implementation can be understood as a QoS Flow. The first network device may be an original node and the second network device may be a destination node. In addition, the first network device and the second network device may be a Master Node (MN) and a Secondary Node (SN) in Dual Connectivity (DC), respectively. Of course, they may also be other nodes in a DC scenario, but the details are not repeated here.

It should also be pointed out that the data flow in this implementation may be a QoS Flow.

When the bearer of the data flow is transferred from the first network device to the second network device, the Data Radio Bearer (DRB) of the first network device continues to be maintained, a first partial PDCP PDUs of the data flow, which have not been acknowledged, sent from the terminal device are received. That is to say, when a QoS Flow is transferred from one network device to another, such as transferred from MN to SN, the DRB of an original side network device continues to be maintained after bearer is changed, and a protocol stack corresponding to an original side node in a UE continues to transmit the first partial PDCP PDUs of the data flow which have not acknowledged by ACK to the first network device (e.g., an MN) through the original bearer.

In addition, the terminal device transmits the second partial data of the data flow to the second network device while executing the aforementioned solution.

When the terminal device transmits the first partial data of the data flow to the first network device completely, the terminal device generates the second indication information, and then transmits the second indication information to the first network device.

Herein, the second indication information may be a blank data packet, or may be a data packet which contains a preset identifier. Herein, the preset identifier may be set according to an actual condition, for example, it may be N-bit data, and the N-bit data is in a preset arrangement, which is not exhaustive in this implementation.

Receiving the first partial data of the data flow sent from the first network device and the second indication information includes: receiving the first partial data of the data flow sent from the first network device and the second indication information through an Xn interface; or receiving the second indication information sent from the first network device includes: receiving the second indication information of the data flow sent from the first network device through the Xn interface.

The method further includes: a GTP tunnel is established with the first network device on the Xn interface; herein the GTP tunnel is used for receiving data sent by the first network device.

The method further includes: whether the second indication information is received is judged, if the second indication information is not received, then the second partial data of the data flow are kept not being sent to the core network; if the second indication information is received, then after the first partial data are controlled to be sent to the core network, the received second partial data of the data flow are delivered to the core network. That is, when the first network device receives the first partial data and the second indication sent from the terminal device based on the original bearer, the first network device sends the information to the second network device in real time through the GTP tunnel established by the Xn interface with the second network device. The second network device sorts the first partial data and the second partial data received by the second network device and then submits the sorted data to an upper layer.

The above scenario will be described below with reference to FIG. 9: for UL, firstly, when an SN node is established or during bearer changing, a GTP tunnel is established on an Xn interface between an MN and the SN for transmitting data received by an original side.

When a bearer of a QoS Flow is transferred from one node to another node, for example, transferred from MN to SN, a DRB of the original side node continues to be maintained after bearer is changed, and a protocol stack which corresponds to an original side node in a terminal continues to transmit PDCP PDUs which have not been acknowledged by ACK. As shown in the figure, the terminal device continues to send a first partial data of Flow 1 to the MN; and the second indication information is transmitted to the original side node when the first partial data of the Flow 1 is transmitted completely. Herein the second indication information may be located in a last data packet of the first partial data; and the second indication information is used for telling the original side node that the unfinished data transmission of the transferred QoS Flow has been completed.

The original side node delivers the first partial data, such as SDAP SDUs, of the Flow 1 which are received, and an SDAP end marker, i.e. the second indication information, to the target side node (SN) through the Xn interface; and the target side node (SN) first sends data, SDAP SDUs, from the original side node to the core network, and after receiving the second indication information, sends second partial data of the Flow 1 which are received by the local side to the core network.

Or, when the first partial data of the Flow 1 which are received by the original side node, for example, SDAP SDUs, and an SDAP end marker, i.e., the second indication information, are received, the original side node first sends the SDAP SDUs which are received to the core network through an GTP tunnel corresponding to a PDU session between the local node and the core network, and then transfers the SDAP end marker to the target side through the Xn interface. After the target side receives the second indication information, i.e., the SDAP end marker indication, it sends data received by the local side to the core network.

It can be seen that by adopting the above solution, it is able that when a bearer of a data flow is transferred from the first network device to the second network device, indication information is sent to the second network device, so that the second network device starts performing, on a new bearer, in-order transmission of the transferred data flow. Therefore, it can be ensured that when data flow transferring occurs, a destination network device side can ensure the order of data transmission.

Implementation Seven

The implementation of the present application provides a first network device, including: a first communication unit, which sends, when a bearer of a data flow is transferred from the first network device to a second network device, first indication information to the second network device. Herein the first indication information is used for indicating the second network device to start performing, on a new bearer, in-order transmission of the transferred data flow.

The data flow in this implementation can be understood as a QoS Flow; the first network device may be an original node and the second network device may be a destination node. In addition, the first network device and the second network device may be a Master Node (MN) and a Secondary Node (SN) in Dual Connectivity (DC), respectively. Of course, they may also be other nodes in a DC scenario, but the details are not repeated here.

It should also be pointed out that the Flow in this implementation may be a QoS Flow.

In addition, when the bearer of the data flow is transferred from the first network device to the second network device, the first communication unit maintains an original Data Radio Bearer (DRB), transmits the first partial data of the data flow which have not been acknowledged to the terminal device, and forwards second partial data from a core network to the second network device.

Herein, the having not been acknowledged may be partial data for which ACK acknowledgement information sent from a receiving end has not been gotten. Moreover, the second partial data of the data flow are data which are still at the first network device while the data flow is transferred from the first network device to the second network device.

At this time, it may further include: the first communication unit keeps sending the second partial data to the second network device till this partial data are sent out.

When the second partial data of the data flow are completely sent to the second network device, the first indication information is generated, and then the first indication information is sent to the second network device.

Herein, the first indication information may be a blank data packet, or may be a data packet which contains a preset identifier. Herein, the preset identifier may be set according to an actual condition, for example, it may be N-bit data, and the N-bit data is in a preset arrangement, which is not exhaustive in this implementation.

Further, the first communication unit sends the first indication information to the second network device through an Xn interface.

The above scenario will be described below with reference to FIG. 7: for DownLink (DL) data, when a QoS Flow 1 is transferred from one node to another node, for example, transferred from MN to SN, a DRB of an original side node continues to be maintained (which may be for the first partial data of QoS Flow 1 sent from Access and Mobility Management Function (AMF)) after bearer is changed, the first partial data of the Flow 1 are kept being sent to the terminal device through an original bearer, and the original side node continues to transmit a first partial PDCP PDUs of the QoS Flow 1, that is, the first partial data of the QoS Flow 1, which have not been acknowledged by ACK. At the same time, the first network device receives second partial data from the core network and sends the second partial data to the second network device (i.e. the SN) till a remaining second part of the PDCP PDUs of the QoS Flow 1 which have not been acknowledged by ACK are all transmitted to the SN completely, and then the original side node (MN) sends the first indication information to a target side (SN) through the Xn interface. Herein, the indication indicates that the target side may start performing, on a new bearer, data transmission of the above transferred QoS Flow. It should also be pointed out that after the SN, that is, the second network device in this implementation, receives the second partial data of the data flow and the first indication information, it transmits the second partial data first and then transmits its own third partial data. In this way, it is ensured that the transmitted data will not be out of order.

It can be seen that by adopting the above solution, it is able that when a bearer of a data flow is transferred from a first network device to a second network device, the first network device sends the second network device first indication information, through which the second network device is caused to start performing, on a new bearer, in-order transmission of the transferred data flow. Therefore, it can be ensured that when data flow transferring occurs, a destination network device side can ensure the order of data transmission.

Implementation Eight

The implementation of the present application provides a second network device, as shown in FIG. 12, including: a second communication unit 1201, which receives, when a bearer of a data flow is transferred from a first network device to the second network device, first indication information sent from the first network device; herein the first indication information is used for indicating the second network device to start performing, on a new bearer, in-order transmission of the transferred data flow.

The data flow in this implementation can be understood as a QoS Flow. The first network device may be an original node and the second network device may be a destination node. In addition, the first network device and the second network device may be a Master Node (MN) and a Secondary Node (SN) in Dual Connectivity (DC), respectively. Of course, they may also be other nodes in a DC scenario, but the details are not repeated here.

It should also be pointed out that the Flow in this implementation may be a QoS Flow.

In addition, when the bearer of the data flow is transferred from the first network device to the second network device, the first network device maintains an original Data Radio Bearer (DRB), and transmits second partial data to the second network device.

When the second partial data of the data flow is completely sent to the second network device, the first indication information is generated, and then the first indication information is sent to the second network device.

Herein, the first indication information may be a blank data packet, or may be a data packet which contains a preset identifier. Herein, the preset identifier may be set according to an actual condition, for example, it may be N-bit data, and the N-bit data is in a preset arrangement, which is not exhaustive in this implementation.

Further, the second communication unit 1201 receives the first indication information sent by the first network device through an Xn interface.

When the second network device receives the first indication information, the second communication unit 1201 may start performing, on a new bearer, in-order transmission of the transferred data flow.

The second network device further includes: a second processing unit 1202, which sorts, based on the first indication information, the first partial data of the data flow and the second partial data and then transmits the sorted data.

The second communication unit 1201 receives third partial data sent by the core network device; that is, when the bearer of the data flow is transferred, the second network device starts receiving the third partial data from a core network.

When the second network device receives the first indication information, the second network device may start performing, on a new bearer, in-order transmission of the transferred data flow. Herein the transmission in order may be that the second partial data are arranged before the third partial data for transmission.

Since the second partial data occurs when the data flow is transferred, the second partial data precedes the third partial data. Therefore, when sorting, the second partial data are arranged before the third partial data for transmission, thus it can be ensured that out of order does not appear when the bearer of the data flow is transferred.

The above scenario will be described below with reference to FIG. 7: for DownLink (DL) data, when a QoS Flow 1 is transferred from one node to another node, for example, transferred from MN to SN, a DRB of an original side node continues to be maintained (which may be for the first partial data of QoS Flow 1 sent from Access and Mobility Management Function (AMF)) after bearer is changed, the first partial data of the Flow 1 are kept being sent to the terminal device through an original bearer, and the original side node continues to transmit a first partial PDCP PDUs of the QoS Flow 1, that is, the first partial data of the QoS Flow 1, which have not been acknowledged by ACK. At the same time, the first network device receives second partial data from the core network and sends the second partial data to the second network device (i.e. the SN) till a remaining second part of the PDCP PDUs of the QoS Flow 1 which have not been acknowledged by ACK are all transmitted to the SN completely, and then the original side node (MN) sends the first indication information to a target side (SN) through the Xn interface. Herein, the indication indicates that the target side may start performing, on a new bearer, data transmission of the above transferred QoS Flow. It should also be pointed out that after the SN, that is, the second network device in this implementation, receives the second partial data of the data flow and the first indication information, it transmits the second partial data first and then transmits its own third partial data. In this way, it is ensured that the transmitted data will not be out of order.

It can be seen that by adopting the above solution, it is able that when a bearer of a data flow is transferred from a first network device to a second network device, the first network device sends the second network device first indication information, through which the second network device is caused to start performing, on a new bearer, transmission of the transferred data flow in order. Therefore, it can be ensured that when data flow transferring occurs, a destination network device side can ensure the order of data transmission.

Implementation Nine

The implementation of the present application provides a terminal device, including: a sixth communication unit, which receives, when a bearer of a data flow is transferred from a first network device to a second network device, first partial data of the data flow sent from the first network device.

The data flow in this implementation can be understood as a QoS Flow. The first network device may be an original node and the second network device may be a destination node. In addition, the first network device and the second network device may be a Master Node (MN) and a Secondary Node (SN) in Dual Connectivity (DC), respectively. Of course, they may also be other nodes in a DC scenario, but the details are not repeated here.

It should also be pointed out that the data flow in this implementation may be a QoS Flow.

In addition, when the bearer of the data flow is transferred from the first network device to the second network device, the first network device maintains an original Data Radio Bearer (DRB), transmits the first partial data of the data flow which have not been acknowledged to the terminal device, and forwards second partial data from a core network to the second network device.

The sixth communication unit maintains the original Data Radio Bearer (DRB) with the first network device and receives the first partial data of the data flow which have not been acknowledged transmitted by the first network device.

The above scenario will be described below with reference to FIG. 7: for DownLink (DL) data, when a QoS data flow (Flow) 1 is transferred from one node to another node, for example, transferred from MN to SN, a DRB of an original side node continues to be maintained (which may be for the first partial data of QoS Flow 1 sent from Access and Mobility Management Function (AMF)) after bearer is changed, the first partial data of the Flow 1 are kept being sent to the terminal device through an original bearer, and the original side node continues to transmit a first partial PDCP PDUs of the QoS Flow 1, that is, the first partial data of the QoS Flow 1, which have not been acknowledged by ACK. At the same time, the first network device receives second partial data from the core network and sends the second partial data to the second network device (i.e. the SN) till a remaining second part of the PDCP PDUs of the QoS Flow 1 which have not been acknowledged by ACK are all transmitted to the SN completely, and then the original side node (MN) sends the first indication information to a target side (SN) through the Xn interface. Herein, the indication indicates that the target side may start performing, on a new bearer, data transmission of the above transferred QoS Flow. It should also be pointed out that after the SN, that is, the second network device in this implementation, receives the second partial data of the data flow and the first indication information, it transmits the second partial data first and then transmits its own third partial data. In this way, it is ensured that the transmitted data will not be out of order.

It can be seen that by adopting the above solution, it is able that when a bearer of a data flow is transferred from a first network device to a second network device, the first network device sends the second network device first indication information, through which the second network device is caused to start performing, on a new bearer, in-order transmission of the transferred data flow. Therefore, it can be ensured that when Flow transferring occurs, a destination network device side can ensure the order of data transmission.

Implementation Ten

The implementation of the present application provides a terminal device, including: a third communication unit, which transmits, when a bearer of a data flow is transferred from a first network device to a second network device, first partial data of the data flow and second indication information to the first network device; and the second indication information is used for indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely.

This implementation is applicable to a scenario where bearer transferring of a data flow occurs when the terminal device sends uplink data to the network side.

The data flow in this implementation can be understood as a QoS Flow. The first network device may be an original node and the second network device may be a destination node. In addition, the first network device and the second network device may be a Master Node (MN) and a Secondary Node (SN) in Dual Connectivity (DC), respectively. Of course, they may also be other nodes in a DC scenario, but the details are not repeated here.

It should also be pointed out that the Flow in this implementation may be a QoS Flow.

The third communication unit maintains, when the bearer of the data flow is transferred from the first network device to the second network device, a Data Radio Bearer (DRB) with the first network device, and sends a first partial PDCP PDUs of the data flow which have not been acknowledged to the first network device.

That is to say, when a QoS Flow is transferred from one network device to another, such as transferred from MN to SN, the DRB of an original side network device continues to be maintained after bearer is changed, and a protocol stack corresponding to an original side node in a UE continues to transmit the first partial PDCP PDUs of the data flow which have not acknowledged by ACK to the first network device (e.g., an MN) through the original bearer.

In addition, the third communication unit transmits the second partial data of the data flow to the second network device while executing the aforementioned solution.

The third communication unit generates, when transmitting the first partial data of the data flow to the first network device completely, the second indication information, and then transmits the second indication information to the first network device.

Herein, the second indication information may be a blank data packet, or may be a data packet which contains a preset identifier. Herein, the preset identifier may be set according to an actual condition, for example, it may be N-bit data, and the N-bit data is in a preset arrangement, which is not exhaustive in this implementation.

The above scenario will be described below with reference to FIG. 9: for UL, firstly, when an SN node is established or during bearer changing, a GTP tunnel is established on an Xn interface between an MN and the SN for transmitting data received by an original side.

When a bearer of a QoS Flow is transferred from one node to another node, for example, transferred from MN to SN, a DRB of the original side node continues to be maintained after bearer is changed, and a protocol stack which corresponds to an original side node in a terminal continues to transmit PDCP PDUs which have not been acknowledged by ACK. As shown in the figure, the terminal device continues to send a first partial data of Flow 1 to the MN, and the second indication information is transmitted to the original side node when the first partial data of the Flow 1 is transmitted completely. Herein the second indication information may be located in a last data packet of the first partial data, and the second indication information is used for telling the original side node that the unfinished data transmission of the transferred QoS Flow has been completed.

The original side node delivers the first partial data, such as SDAP SDUs, of the Flow 1 which are received, and an SDAP end marker, i.e. the second indication information, to the target side node (SN) through the Xn interface; and the target side node (SN) first sends data, SDAP SDUs, from the original side node to a core network, and after receiving the second indication information, sends second partial data of the Flow 1 which are received by the local side to the core network.

It can be seen that by adopting the above solution, it is able that when a bearer of a data flow is transferred from the first network device to the second network device, indication information is sent to the second network device, so that the second network device starts performing, on a new bearer, in-order transmission of the transferred data flow. Therefore, it can be ensured that when data flow transferring occurs, a destination network device side can ensure an order of data transmission.

Implementation Eleven

The implementation of the present application provides a first network device, including: a fourth communication unit, which receives, when a bearer of a data flow is transferred from the first network device to a second network device, first partial data of the data flow sent from a terminal device and second indication information sent from the terminal device; the second indication information is used for indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely; and sends the first partial data of the data flow and the second indication information to the second network device, or sends the first partial data of the data flow to a core network and sends the second indication information to the second network device.

This implementation is applicable to a scenario where bearer transferring of a data flow occurs when the terminal device sends uplink data to the network side.

The data flow in this implementation can be understood as a QoS Flow. The first network device may be an original node and the second network device may be a destination node. In addition, the first network device and the second network device may be a Master Node (MN) and a Secondary Node (SN) in Dual Connectivity (DC), respectively. Of course, they may also be other nodes in a DC scenario, but the details are not repeated here.

It should also be pointed out that the data flow in this implementation may be a QoS Flow.

The fourth communication unit receives, when the bearer of the data flow is transferred from the first network device to the second network device and the Data Radio Bearer (DRB) is continuously maintained, the first partial PDCP PDUs of the data flow, which have not been acknowledged, sent from the terminal device.

That is to say, when a QoS Flow is transferred from one network device to another, such as transferred from MN to SN, the DRB of an original side network device continues to be maintained after bearer is changed, and a protocol stack corresponding to an original side node in a UE continues to transmit the first partial PDCP PDUs of the data flow which have not acknowledged by ACK to the first network device (e.g., an MN) through the original bearer.

In addition, the terminal device transmits the second partial data of the data flow to the second network device while executing the aforementioned solution.

When the terminal device transmits the first partial data of the data flow to the first network device completely, the terminal device generates the second indication information, and then transmits the second indication information to the first network device.

Herein, the second indication information may be a blank data packet, or may be a data packet which contains a preset identifier. Herein, the preset identifier may be set according to an actual condition, for example, it may be N-bit data, and the N-bit data is in a preset arrangement, which is not exhaustive in this implementation.

The fourth communication unit sends the first partial data of the data flow and the second indication information to the second network device through an Xn interface.

Or, the fourth communication unit sends the first partial data of the data flow to the core network through a GTP tunnel with the core network, and sends the second indication information to the second network device through an Xn interface.

The fourth communication unit establishes, on the Xn interface, a GTP tunnel with the second network device; herein the GTP tunnel is used for performing data forwarding to the second network device.

That is, when the first network device receives the first partial data and the second indication sent from the terminal device based on the original bearer, the first network device sends the information to the second network device in real time through the GTP tunnel established by the Xn interface with the second network device, so that the second network device sorts the first partial data and the second partial data received by the second network device, and then submits the sorted data to an upper layer.

The above scenario will be described below with reference to FIG. 9: for UL, firstly, when an SN node is established or during bearer changing, a GTP tunnel is established on an Xn interface between an MN and the SN for transmitting data received by an original side.

When a bearer of a QoS Flow is transferred from one node to another node, for example, transferred from MN to SN, a DRB of the original side node continues to be maintained after bearer is changed, and a protocol stack which corresponds to an original side node in a terminal continues to transmit PDCP PDUs which have not been acknowledged by ACK. As shown in the figure, the terminal device continues to send a first partial data of Flow 1 to the MN, and the second indication information is transmitted to the original side node when the first partial data of the Flow 1 is transmitted completely. Herein the second indication information may be located in a last data packet of the first partial data, and the second indication information is used for telling the original side node that the unfinished data transmission of the transferred QoS Flow has been completed.

The original side node delivers the first partial data, such as SDAP SDUs, of the Flow 1 which are received, and an SDAP end marker, i.e. the second indication information, to the target side node (SN) through the Xn interface; and the target side node (SN) first sends data, SDAP SDUs, from the original side node to the core network, and after receiving the second indication information, sends second partial data of the Flow 1 which are received by the local side to the core network.

Or, when the first partial data of the Flow 1 are received by the original side node, for example, when SDAP SDUs and an SDAP end marker, i.e., the second indication information, are received, the original side node first sends the received SDAP SDUs to the core network through an GTP tunnel corresponding to a PDU session between the local node and the core network, and then transfers the SDAP end marker to the target side through the Xn interface. After the target side receives the second indication information, i.e., the SDAP end marker indication, it sends data received by the local side to the core network.

It can be seen that by adopting the above solution, it is able that when a bearer of a data flow is transferred from the first network device to the second network device, indication information is sent to the second network device, so that the second network device starts performing, on a new bearer, in-order transmission of the transferred data flow. Therefore, it can be ensured that when data flow transferring occurs, a destination network device side can ensure an order of data transmission.

Implementation Twelve

The implementation of the present application provides a second network device, as shown in FIG. 13, including: a fifth communication unit 1301, which receives, when a bearer of a data flow is transferred from a first network device to the second network device, first partial data of the data flow and second indication information sent from the first network device, or receives second indication information sent from the first network device; the second indication information is used for indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely; and a fifth processing unit 1302, which delivers, based on the second indication information, second partial data of the data flow to the core network after delivering the first partial data to the core network.

This implementation is applicable to a scenario where bearer transferring of a data flow occurs when the terminal device sends uplink data to the network side.

The data flow in this implementation can be understood as a QoS Flow. The first network device may be an original node and the second network device may be a destination node. In addition, the first network device and the second network device may be a Master Node (MN) and a Secondary Node (SN) in Dual Connectivity (DC), respectively. Of course, they may also be other nodes in a DC scenario, but the details are not repeated here.

It should also be pointed out that the data flow in this implementation may be a QoS Flow.

When the bearer of the data flow is transferred from the first network device to the second network device, the Data Radio Bearer (DRB) of the first network device continues to be maintained and a first partial PDCP PDUs of the data flow, which have not been acknowledged, sent from the terminal device are received. That is to say, when a QoS Flow is transferred from one network device to another, such as transferred from MN to SN, the DRB of an original side network device continues to be maintained after bearer is changed, and a protocol stack corresponding to an original side node in a UE continues to transmit the first partial PDCP PDUs of the data flow which have not acknowledged by ACK to the first network device (e.g., an MN) through the original bearer.

In addition, the terminal device transmits the second partial data of the data flow to the second network device while executing the aforementioned solution.

When the terminal device transmits the first partial data of the data flow to the first network device completely, the terminal device generates the second indication information, and then transmits the second indication information to the first network device.

Herein, the second indication information may be a blank data packet, or may be a data packet which contains a preset identifier. Herein, the preset identifier may be set according to an actual condition, for example, it may be N-bit data, and the N-bit data is in a preset arrangement, which is not exhaustive in this implementation.

The fifth communication unit 1301 receives the first partial data of the data flow sent from the first network device and the second indication information through an Xn interface.

Or, the fifth communication unit 1301 receives the second indication information of the data flow sent from the first network device through the Xn interface.

The fifth communication unit 1301 establishes a GTP tunnel with the first network device on the Xn interface; herein the GTP tunnel is used for receiving data sent by the first network device.

The fifth processing unit 1302 judges whether the second indication information is received, if the second indication information is not received, then the second partial data of the data flow are kept not being sent to the core network; if the second indication information is received, then after the first partial data are controlled to be sent to the core network, the second partial data of the data flow which are received are delivered to the core network. That is, when the first network device receives the first partial data and the second indication sent from the terminal device based on the original bearer, the first network device sends the information to the second network device in real time through the GTP tunnel established by the Xn interface with the second network device. The second network device sorts the first partial data and the second partial data received by the second network device and then submits the sorted data to an upper layer.

The above scenario will be described below with reference to FIG. 9: for UL, firstly, when an SN node is established or during bearer changing, a GTP tunnel is established on an Xn interface between an MN and the SN for transmitting data forwarding received by an original side.

When a bearer of a QoS data Flow is transferred from one node to another node, for example, transferred from MN to SN, a DRB of the original side node continues to be maintained after bearer is changed, and a protocol stack which corresponds to an original side node in a terminal continues to transmit PDCP PDUs which have not been acknowledged by ACK. As shown in the figure, the terminal device continues to send a first partial data of Flow 1 to the MN, and the second indication information is transmitted to the original side node when the first partial data of the Flow 1 is transmitted completely. Herein the second indication information may be located in a last data packet of the first partial data, and the second indication information is used for telling the original side node that the unfinished data transmission of the transferred QoS Flow has been completed.

The original side node delivers the received first partial data, such as SDAP SDUs, of the Flow 1, and an SDAP end marker, i.e. the second indication information, to the target side node (SN) through the Xn interface; and the target side node (SN) first sends data, SDAP SDUs, from the original side node to the core network, and sends second partial data of the Flow 1 which are received by the local side to the core network after receiving the second indication information.

Or, when the first partial data of the Flow 1 which are received by the original side node, for example, SDAP SDUs and an SDAP end marker, i.e., the second indication information, are received, the original side node first sends the received SDAP SDUs to the core network through an GTP tunnel corresponding to a PDU session between the local node and the core network, and then transfers the SDAP end marker to the target side through the Xn interface. After the target side receives the second indication information, i.e., the SDAP end marker indication, it sends data received by the local side to the core network.

It can be seen that by adopting the above solution, it is able that when a bearer of a data flow is transferred from the first network device to the second network device, indication information is sent to the second network device, so that the second network device starts performing, on a new bearer, in-order transmission of the transferred data flow. Therefore, it can be ensured that when data flow transferring occurs, a destination network device side can ensure an order of data transmission.

An implementation of the present disclosure further provides architecture of hardware components of a terminal device or a network device. As shown in FIG. 14, the architecture includes at least one processor 1401, a memory 1402, and at least one network interface 1403. The various components are coupled together by a bus system 1404. It may be understood that the bus system 1404 is used for implementing connection and communication between these components. In addition to a data bus, the bus system 1404 includes a power bus, a control bus, and a status signal bus. However, for clarity, all kinds of buses are uniformly referred to as a bus system 1404 in the FIG. 14.

It should be understood that the memory 1402 in the implementation of the present disclosure may be a volatile memory or a non-volatile memory, or it may include both volatile and non-volatile memories.

In some implementations, the memory 1402 stores following elements, executable modules or data structures, or subsets thereof, or extended sets thereof: an operating system 14021 and an application 14022.

Herein, the processor 1401 is configured to be capable of processing acts of the methods in any one of the aforementioned Implementations one to five, which will not be repeated here.

An implementation of the present disclosure provides a computer storage medium storing computer executable instructions, and the computer executable instructions implements, when being executed, acts of the methods in any one of the aforementioned implementations one to five.

The above device in the implementations of the present disclosure may also be stored in a computer readable storage medium when it is implemented in the form of a software function module and sold or used as an independent product. Based on this understanding, the technical solutions in the implementations of the present disclosure, in essence, or the part contributing to the prior art, may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the methods described in various implementations of the present disclosure. The aforementioned storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk, and another media capable of storing program codes. Thus, the implementations of the present disclosure are not limited to any specific combination of hardware and software.

Although the preferable implementations of the present disclosure have been disclosed for illustrative purposes, those skilled in the art will recognize that various modifications, additions and substitutions are also possible, and therefore, the scope of the present disclosure should not be limited to the above implementations. 

What is claimed is:
 1. A method for delivering data in order, which is applied to a first network device, comprising: in a case that there is a transferring of bearer of a data flow from the first network device to a second network device, receiving, from a terminal device, first partial data of the data flow and indication information, the indication information indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely; and sending the first partial data of the data flow and the indication information for indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely to the second network device, or sending the first partial data of the data flow to a core network and sending the indication information to the second network device; wherein receiving the first partial data of the data flow sent from the terminal device comprises: when the bearer of the data flow is transferred with a Data Radio Bearer (DRB) of the first network device continuing to be maintained, receiving a first partial Packet Data Convergence Protocol (PDCP) Protocol Data Units (PDUs) of the data flow from the terminal device, wherein the first partial PDCP PDUs have not been acknowledged.
 2. The method according to claim 1, wherein, when sending the first partial data of the data flow and the second indication information for indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely to the second network device, the first partial data of the data flow and the indication information are sent to the second network device through an Xn interface.
 3. The method according to claim 1, wherein, when sending the first partial data of the data flow to the core network and sending the indication information to the second network device, the first partial data of the data flow are sent to the core network through a General Packet Radio Service (GPRS) Tunnelling Protocol (GTP) tunnel with the core network; and the indication information is sent to the second network device through an Xn interface.
 4. The method according to claim 1, further comprising: establishing a GTP tunnel with the second network device on an Xn interface; wherein the GTP tunnel is used for performing data forwarding to the second network device.
 5. A first network device, comprising: a processor, and a memory used for storing a computer program which is capable of being run on the processor, wherein the processor is configured to, when running the computer program, in a case that there is a transferring of bearer of a data flow from the first network device to a second network device, receive, from a terminal device, first partial data of the data flow and indication information, the indication information indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely; send the first partial data of the data flow and the indication information for indicating that the first partial data in the data flow, which have not been transmitted completely when the transferring occurs, are transmitted completely to the second network device, or send the first partial data of the data flow to a core network and send the indication information to the second network device; in a case that the bearer of the data flow is transferred from the first network device to the second network device, with the Data Radio Bearer (DRB) continuing to be maintained, receive a first partial Packet Data Convergence Protocol (PDCP) Protocol Data Units (PDUs) of the data flow from the terminal device, wherein the first partial PDCP PDUs have not been acknowledged.
 6. The first network device according to claim 5, wherein, the processor is configured to: send the first partial data of the data flow and the indication information to the second network device through an Xn interface.
 7. The first network device according to claim 5, wherein, the processor is configured to: send the first partial data of the data flow to the core network through a General Packet Radio Service (GPRS) Tunnelling Protocol (GTP) tunnel with the core network; and send the indication information to the second network device through an Xn interface.
 8. The first network device according to claim 5, wherein, the processor is configured to: establish, on an Xn interface, a GTP tunnel with the second network device; wherein the GTP tunnel is used for performing data forwarding to the second network device. 